const state = () => ({
    activityData: {},  //拼团活动的商品参团joinActivityId
})


const mutations = {
    /** 商品活动相关 begin */
    saveActivityData(state, data) {
        state.activityData = data;
        console.log('state.activityData', state.activityData);
    },

    removeActivityData(state) {
        state.activityData = {};
        console.log('state.activityData', state.activityData);
    },
    /** 商品活动相关 end */
}


export default {
    namespaced: true,
    state,
    mutations,
}